{template header}
<h4>id字段留空表示删除此行</h4>
<form class="form-horizontal" action="index.php?c=admin&a=userTagList" method="post" enctype="multipart/form-data">
    <table>
      <thead>
        <th>id</th>
        <th>名称</th>
      </thead>
      <tbody>
        {loop $userTagList $id $tag}
        <tr>
          <td><input type="text" name="id[]" value="{$id}"></td>
          <td><input type="text" name="tag[]" value="{$tag}"></td>
        </tr>
        {/loop}
        <tr>
          <td><input type="text" name="id[]" value=""></td>
          <td><input type="text" name="tag[]" value=""></td>
        </tr>
      </tbody>
    </table>
    
    <div class="control-group">
        <div class="controls">
            <button type="submit" class="btn">提交</button>
        </div>
    </div>
</form>

{template footer}
